package com.cyanite.playlv2;

import com.cyanite.playlv2api.types.Secret;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

public class SecretContentDialog extends Dialog{

    private Secret mSecret;
    
    public SecretContentDialog(Context context, Secret secret) {
        super(context);
        mSecret = secret;
    }

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.secret_content_dialog);

        ensuerUi();
    }

    void ensuerUi(){
        TextView secretText = (TextView)findViewById(R.id.tvSecretText);
        ImageView secretPhoto = (ImageView)findViewById(R.id.ivSecretPhoto);
        Button btnContent = (Button)findViewById(R.id.btnSecretContent);
        btnContent.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                SecretContentDialog.this.cancel();
            }
         });        
    }
}
